package com.sunwayworld.basemodule.framework.autotranslate.resource.impl;

import com.sunwayworld.basemodule.framework.autotranslate.resource.LimsI18NAutoTranslateResource;
import com.sunwayworld.basemodule.framework.autotranslate.service.LimsI18NAutoTranslateService;
import com.sunwayworld.framework.spring.annotation.GikamBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName LimsI18NAutoTranslateResourceImpl
 * @Author zhoujq
 * @Date 2023/7/5
 * @Version 1.0
 **/
@RestController
@GikamBean
public class LimsI18NAutoTranslateResourceImpl implements LimsI18NAutoTranslateResource {

    @Autowired
    @Lazy
    LimsI18NAutoTranslateService limsI18NAutoTranslateService;

    @Override
    public void autoTranslate() {
        limsI18NAutoTranslateService.autoTranslate();
    }
}
